Skip to content

Revert "[fix] Select Railway services when redeploying previews" - #4792

Merged
bekossy merged 1 commit into
release/v0.104.1from
revert-4725-fix/railway-explicit-redeploy-service
Jun 22, 2026
Merged

Revert "[fix] Select Railway services when redeploying previews"#4792
bekossy merged 1 commit into
release/v0.104.1from
revert-4725-fix/railway-explicit-redeploy-service

Conversation

@bekossy

@bekossy bekossy commented Jun 22, 2026

Copy link
Copy Markdown
Member

Reverts #4725

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 22, 2026
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Jun 22, 2026 12:07pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f48f099c-92b1-49c9-971b-b56165f69f37

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch revert-4725-fix/railway-explicit-redeploy-service

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bekossy
bekossy merged commit bb8915b into release/v0.104.1 Jun 22, 2026
11 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: de228efb8b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


if railway_call service "$service" >/dev/null 2>&1; then
railway_call redeploy --service "$service" --environment "$ENV_NAME" --yes >/dev/null
railway_call redeploy --yes >/dev/null

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore explicit Railway service on redeploy

When the preview workflow runs deploy-from-images.sh, this helper is redeploying the requested infra service before Alembic, but a bare railway redeploy targets whatever service the CLI currently has linked; Railway’s redeploy reference says --service defaults to the linked service (https://docs.railway.com/cli/redeploy). This reintroduces the observed preview failure from #4725 where the linked service was gateway and the job failed with No deployment found for service before migrations/app deployment; the same bare-redeploy pattern is also restored in deploy-services.sh and smoke.sh.

Useful? React with 👍 / 👎.

@github-actions

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Preview URL https://gateway-production-b25f.up.railway.app/w
Image tag pr-4792-4ca96e0
Status Failed
Railway logs Open logs
Logs View workflow run
Updated at 2026-06-22T12:34:41.223Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant